export type CategoriesModel = "军事" | "娱乐" | "财经" | "科技" | "体育";

// 单个新闻对象信息
export interface NewsModel {
  id: number;
  title: string;
  author: string;
  image: string;
  content: string;
  createTime: string;
  category: CategoriesModel;
}

// 新闻列表数据模型
export type NewsListModel = NewsModel[];
